Disable the 'mysql*' command deprecation warning
authorOtto Kekalainen <otto@debian.org>
Sun, 30 Jun 2024 15:18:06 +0000 (15:18 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 5 Mar 2026 22:49:06 +0000 (22:49 +0000)
commitfb6398eae0ddde3581f1aa4027d1f594ea818ce5
tree304a4f0e08e1f4a569a2f585b323ec1f7bf808dc
parent931fca0c95f7f2db11b98f50ced8fe3e8042bc0b
Disable the 'mysql*' command deprecation warning

Many command-line tools expect the commands they run to return without
any output in stderr or having error codes. The fact that now in MariaDB
11.4 all 'mysql*' commands emit a deprecation warning causes a lot of
scripts to fail, such as the /etc/init.d/mariadb itself and many dependent
programs as witnessed via Debian autopkgtests. See examples below.

https://ci.debian.net/packages/m/mariadb-connector-odbc/testing/amd64/48373500/
https://ci.debian.net/packages/p/pam-mysql/testing/amd64/48373511/
https://ci.debian.net/packages/r/roundcube/testing/amd64/48373518/

Forwarded: not-needed

Gbp-Pq: Name hide-mysql-command-deprecation-warnings.patch
mysys/my_init.c